#ifndef UTILSFORUSER_H
#define UTILSFORUSER_H

#include "../hle.h"

void sceKernelDcacheInvalidateRange();
void sceKernelIcacheInvalidateRange();
void sceKernelGetGPI();
void sceKernelSetGPO();
void sceKernelLibcGettimeofday();
void sceKernelLibcClock();
void sceKernelLibcTime();
void sceKernelDcacheWritebackAll();
void sceKernelDcacheWritebackInvalidateAll();
void sceKernelDcacheWritebackRange();
void sceKernelDcacheWritebackInvalidateRange();
void sceKernelIcacheInvalidateAll();

LIB_START(UtilsForUser)
LIB_ADDFUNC(0xbfa98062, sceKernelDcacheInvalidateRange)
LIB_ADDFUNC(0xc2df770e, sceKernelIcacheInvalidateRange)
LIB_ADDFUNC(0x37fb5c42, sceKernelGetGPI)
LIB_ADDFUNC(0x6ad345d7, sceKernelSetGPO)
LIB_ADDFUNC(0x91e4f6a7, sceKernelLibcClock)
LIB_ADDFUNC(0x27cc57f0, sceKernelLibcTime)
LIB_ADDFUNC(0x71ec4271, sceKernelLibcGettimeofday)
LIB_ADDFUNC(0x79d1c3fa, sceKernelDcacheWritebackAll)
LIB_ADDFUNC(0xb435dec5, sceKernelDcacheWritebackInvalidateAll)
LIB_ADDFUNC(0x3ee30821, sceKernelDcacheWritebackRange)
LIB_ADDFUNC(0x34b9fa9e, sceKernelDcacheWritebackInvalidateRange)
LIB_ADDFUNC(0x920f104a, sceKernelIcacheInvalidateAll)
LIB_END

#endif

